import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from './Home.vue'
import Explorer from './Explorer.vue'
import Cart from './cart.vue'
import Me from './me.vue'
Vue.use(VueRouter)

export default new VueRouter({
    mode:'history',
    base:__dirname,
    linkActiveClass:"active",
    routes:[
        {name:'home',path:'/',component:Home},
        //{,path:'/home',component:Home},
        {name:'explorer',path:'/explorer',component:Explorer},
        {name:'cart',path:'/cart',component:Cart},
        {name:'me',path:'/me',component:Me}
    ]
});